package gases.as3.librarys.core.events
{
	import flash.events.Event;
	
	public class MaskControllerEvent extends Event
	{
		public static const TO_TOP:String = "Mask_Top";
		public static const TO_BOTTOM:String = "Mask_Bottom";
		public static const TO_LEFT:String = "Mask_Left";
		public static const TO_RIGHT:String = "Mask_Right";
		public static const TO_MAX_TOP:String = "MASK_TO_MAXTOP";
		public static const TO_MAX_BOTTOM:String =  "MASK_TO_MAX_BOTTOM";
		public static const TO_MAX_LEFT:String = "MASK_TO_MAX_LEFT";
		public static const TO_MAX_RIGHT:String = "MASK_TO_MAX_RIGHT";
		public static const SET_Y_POSITION:String = "SET_Y_POSITION";
		public static const SET_X_POSITION:String = "SET_X_POSITION";
		
		public function MaskControllerEvent(type:String,value:Number = 0)
		{
			_value = value;
			super(type);
		}
		
		public function get value():Number
		{
			return _value;
		}
		
		override public function clone():Event
		{
			return new MaskControllerEvent(this.type,_value);
		}
		
		private var _value:Number;
	}
}